//获取应用实例
var app = getApp();
Page({
  data: {
    imgUrl:app.globalData.imgurl
   },
	onLoad: function (options) {
	  var that = this;
      if(options.type == '2'){
         that.setData({
           content:'请下单后在评价',
           button:'去逛逛',
           type:2
         });
      }else{
        that.setData({
           content:'请完善用户信息在评价',
           button:'去完善',
           type:1
         });
      }
   },
	shouye:function(){
	  wx.switchTab({
	    url: '../../pages/index/index',
	  })
    },
    userInfo:function(){
	  wx.redirectTo({
	    url: '../../pages/health/health',
	  })
    }
})